#pragma once

namespace mcore
{

class Profiler
{
public:
	Profiler();
	~Profiler();

	void start();
	void stop();

	static void dump(const std::string & desc);

private:
	_int64 mTime;

	static _int64 mAllTime;
	static int mNumSamples;
};

}